﻿<?php

$shirts = array();

$query = ShirtQuery::create()->find();

foreach($query as $s)
{
	array_push($shirts, array("id" => $s->getId(), "title" => $s->getNom(), "price" => $s->getPrix(), "brand" => $s->getMarque(), "description" => $s->getDescription(), "material" => "Coton"));
}
$smarty->assign("shirts", $shirts);

$smarty->display('store.tpl');
